/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entity;

import Acquaintance.IAUser;

/**
 *
 * @author kocio
 */
public class EUser implements IAUser {

    private String objectID;
    private int userID;
    private String userName;
    private String passWD;
    private String userEmail;
    private boolean online;
    private boolean isDirty;

    /**
     *
     * @param objectID
     */
    public void setObjectID(String objectID) {
        this.objectID = objectID;
    }

    /**
     *
     * @param userID
     */
    public void setUserID(int userID) {
        this.userID = userID;
    }

    /**
     *
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     *
     * @param passWD
     */
    public void setPassWD(String passWD) {
        this.passWD = passWD;
    }

    /**
     *
     * @param userEmail
     */
    public void setEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    /**
     *
     * @param b
     */
    public void setOnline(boolean b) {
        this.online = b;
    }

    /**
     *
     * @param b
     */
    public void setDirty(boolean b) {
        this.isDirty = b;
    }

    /**
     *
     * @return
     */
    public String getObjectID() {
        return objectID;
    }

    /**
     *
     * @return
     */
    public int getUserID() {
        return userID;
    }

    /**
     *
     * @return
     */
    public String getUserName() {
        return userName;
    }

    /**
     *
     * @return
     */
    public String getPassWD() {
        return passWD;
    }

    /**
     *
     * @return
     */
    public String getUserEmail() {
        return userEmail;
    }

    /**
     *
     * @return
     */
    public boolean isOnline() {
        return this.online;
    }

    /**
     *
     * @return
     */
    public boolean isDirty() {
        return isDirty;
    }

    /**
     *
     */
    public void finallize() {
    }

    /**
     *
     * @return
     */
    public String toString() {
        return this.userEmail;
    }
}
